package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.CommodityType;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface CommodityTypeDao extends GenericDao<CommodityType, Long> {
    /**
     * Gets role information based on CommodityTypeDao
     * @param CountryDao the CityDao
     * @return populated role object
     */
	List<CommodityType> getCommodityTypeByCodeAndName(String commodityTypeCode, String commodityTypeName);
    
	List<CommodityType> getCommodityTypeByCommodityType(CommodityType commodityType, String sort, boolean desc, int startResult, int maxResults);
}
